package com.info.zhiduoduo.repository.dto.crowdsource;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.info.zhiduoduo.common.excelconverter.StateConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(20)
public class ContractorInvoicefDto {

	@ApiModelProperty("该条发票数据id 主键")
	private Integer invoiceId;

	@ApiModelProperty("智众包项目明细id")
	private Integer projectItemId;

	@ApiModelProperty("智众包项目id")
	private Integer projectid;

	@ApiModelProperty("开票金额")
	private BigDecimal projectAmount;

	@ApiModelProperty("项目名称")
	private String projectName;

	@ApiModelProperty("开票内容")
	private String invoiceContent;

	@ApiModelProperty("购买方id 企业")
	private Integer compid;

	@ApiModelProperty("购买方名称")
	private String compname;

	@ApiModelProperty("开票状态(1：待开票，2：开票中，3：已开票，4：已作废)")
	private Integer state;

	@ApiModelProperty("渠道(1:合付宝)")
	private Integer channel;

	@ApiModelProperty("税源地Id")
	private Integer taxSourceId;

	@ApiModelProperty("税源地名称")
	private String taxSourceName;

	@ApiModelProperty("创建时间")
	private Date createtime;

	@ApiModelProperty("开票完成时间")
	private Date finishtime;

	@ApiModelProperty("发票类型")
	private Integer invoiceType;

	@ApiModelProperty("作废理由")
	private String invalidationReasons;

	@ApiModelProperty("项目服务费-单条")
	private BigDecimal projectServiceCharge;

	@ApiModelProperty("甲方id")
	private int partyId;

	@ApiModelProperty("开票地id")
	private int invoiceCityId;

	@ApiModelProperty("开票地名称")
	private String invoiceCityName;

	@ApiModelProperty("运营主体名称")
	private String subjectName;

	@ApiModelProperty("发票图片")
	private String invoicePicture;

	@ApiModelProperty("备注")
	private String remarks;

	@ApiModelProperty("开票金额")
	private BigDecimal invoicedAmount;

	@ApiModelProperty("申请金额")
	private BigDecimal applyAmount;

	@ApiModelProperty("参与人数")
	private Integer numberOfParticipants;

	@ApiModelProperty("发票号")
	private String invoiceNumber;

}
